home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 4 / BBS in a Box - Macintosh - Volume IV (January 1992) (BBS in a Box).iso / Files / Game / C / CORE! 1.1.CPT / Core! 1.1 / Battle Programs / Standard / gemini.cannon < prev    next >
Encoding:
Text File  |  1989-07-18  |  505 b   |  21 lines  |  [TEXT/MARS]

  1. ; GEMINI CANNON has required considerable modification
  2. ;  to run under Core War '89.  Jon Newman
  3.     dat 0,400
  4. go  djn 0,-1
  5.     mov #400,-2
  6.     mov #0,source
  7.     mov #source-dest+offset,dest
  8.     spl start,0
  9.     jmp go,0
  10. offset  equ 100
  11. source  dat 0,0
  12. dest    dat 0,source+offset
  13. loop             add #1,source
  14.                     add #1,dest
  15. start   mov @source,@dest
  16.                     cmp #last-source,source
  17.                     jmp loop,0
  18. done    mov #0,source+offset
  19.                     mov #source-dest+offset,dest+offset
  20. last                jmp start+offset,0
  21. end go